#ifndef __PERSONAL_AUDIO_ENGINE_H__
#define __PERSONAL_AUDIO_ENGINE_H__
#include "cocos2d.h"
#include "SimpleAudioEngine.h"

class PersonalAudioEngine : public CocosDenshion::SimpleAudioEngine
{
public:
	virtual ~PersonalAudioEngine();
	static PersonalAudioEngine& getInstance();

	void setBackgroundMusicVolume(float volume);
	void setEffectsVolume(float volume);
private:
	bool init();
	PersonalAudioEngine();
	PersonalAudioEngine(const PersonalAudioEngine&);
private:
	static PersonalAudioEngine* _pInstace;
};

#endif